#ifndef BULLETTOUCH_H
#define BULLETTOUCH_H

#include "Bullet.h"
#include <QThread>
#include"smallenemy.h"
#include"followsmallenemy.h"
#include"bigenemy.h"
#include<QDebug>
class BulletTouch : public QObject
{

    Q_OBJECT
private:
    QList<Bullet*>  BulletList;
    QList<SmallEnemy*> SmallEnemySetList;
    QList<FollowSmallEnemy*> FollowEnemySetList;
    QList<BigEnemy*> BigEnemySetList;

public:
    BulletTouch(QList<Bullet*>,QList<SmallEnemy*>,QList<FollowSmallEnemy*>,QList<BigEnemy*>);
    void SendBullet(QList<Bullet *>bls);

signals:
    void SmallEnemySend(QList<Bullet*>,QList<SmallEnemy*>);//信号函数,传出数据
public slots:
    void run();

};

#endif // BULLETTOUCH_H
